package com.googlecode.gaal.vis.api;

import java.io.Flushable;

public interface Drawing extends Flushable {

    public int drawNode(int x, int y, String label, NodeStyle style, boolean isTerminal);

    public void drawEdge(int node, int parent, String label, EdgeStyle style);

    public void drawEdge(int node, String nodeAnchor, int parent, String parentAnchor, EdgeStyle style);

    public int drawCell(int x, int y, String label, String index, NodeStyle style);

    public int drawCell(int x, int y, String label, NodeStyle style);

    public void drawBox(String label);

    public void drawBox(String label, int labelLength);

}
